<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="./dist/main.css" />
  </head>
  <body>
    <header class="h-16 bg-gray-800 flex text-gray-300 px-5">
      <a href="" class="mr-5">
        <img src="./logo.png" alt="" class="h-full" />
      </a>
      <nav class="flex items-center">
        <a href="" class="hover:bg-black px-5 bg-black mx-1 py-2 rounded-lg">
          仪表盘
        </a>
        <a href="" class="hover:bg-black px-5 mx-1 py-2 rounded-lg">工程</a>
        <a href="" class="hover:bg-black px-5 mx-1 py-2 rounded-lg">团队</a>
        <a href="" class="hover:bg-black px-5 mx-1 py-2 rounded-lg">日历</a>
      </nav>
      <div class="group ml-auto flex items-center relative">
        <img src="./user.png" alt="" class="h-9 rounded-full" />
        <div
          class="absolute bg-white text-gray-700 text-sm top-14 w-48 right-0 shadow-lg ring-1 ring-black ring-opacity-5 rounded-md py-2 scale-0 group-hover:scale-100 duration-300 origin-top-right"
        >
          <a href="#" class="block px-4 py-2 hover:bg-gray-100">个人资料</a>
          <a href="#" class="block px-4 py-2 hover:bg-gray-100">设置</a>
          <a href="#" class="block px-4 py-2 hover:bg-gray-100">退出</a>
        </div>
      </div>
    </header>
  </body>
</html>
